Optimal. Leaf size=17 \[ \frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{a b c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {35, 214}
\begin {gather*} \frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{a b c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 35
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{(a+b x) (a c-b c x)} \, dx &=\int \frac {1}{a^2 c-b^2 c x^2} \, dx\\ &=\frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{a b c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 17, normalized size = 1.00 \begin {gather*} \frac {\tanh ^{-1}\left (\frac {b x}{a}\right )}{a b c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 35, normalized size = 2.06
method | result | size |
default | \(\frac {-\frac {\ln \left (-b x +a \right )}{2 a b}+\frac {\ln \left (b x +a \right )}{2 a b}}{c}\) | \(35\) |
norman | \(-\frac {\ln \left (-b x +a \right )}{2 a b c}+\frac {\ln \left (b x +a \right )}{2 a b c}\) | \(37\) |
risch | \(-\frac {\ln \left (-b x +a \right )}{2 a b c}+\frac {\ln \left (b x +a \right )}{2 a b c}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 37 vs.
\(2 (17) = 34\).
time = 0.28, size = 37, normalized size = 2.18 \begin {gather*} \frac {\log \left (b x + a\right )}{2 \, a b c} - \frac {\log \left (b x - a\right )}{2 \, a b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.53, size = 28, normalized size = 1.65 \begin {gather*} \frac {\log \left (b x + a\right ) - \log \left (b x - a\right )}{2 \, a b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 22 vs.
\(2 (10) = 20\).
time = 0.08, size = 22, normalized size = 1.29 \begin {gather*} - \frac {\frac {\log {\left (- \frac {a}{b} + x \right )}}{2} - \frac {\log {\left (\frac {a}{b} + x \right )}}{2}}{a b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 39 vs.
\(2 (17) = 34\).
time = 1.68, size = 39, normalized size = 2.29 \begin {gather*} \frac {\log \left ({\left | b x + a \right |}\right )}{2 \, a b c} - \frac {\log \left ({\left | b x - a \right |}\right )}{2 \, a b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.17, size = 17, normalized size = 1.00 \begin {gather*} \frac {\mathrm {atanh}\left (\frac {b\,x}{a}\right )}{a\,b\,c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________